package com.huixuebao.after.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huixuebao.after.entity.DictionaryEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface DictionaryMapper extends BaseMapper<DictionaryEntity> {

    /**
     * 根据父Id查询子集表
     */
    List<DictionaryEntity> queryDivisionByPid(String pid);

    List<DictionaryEntity> regionList();
}
